package com.kc.business.service;

import com.kc.business.domain.BizBusinessGoods;

import java.util.List;

/**
 * 商家商品service
 */
public interface IBizBusinessGoodsService {
    /**
     * 获取商品列表
     * @param bizBusinessGoods
     * @return
     */
    List<BizBusinessGoods> getList(BizBusinessGoods bizBusinessGoods);

    /**
     * 获取商品详情
     * @param bizBusinessGoods
     * @return
     */
    BizBusinessGoods getListInfo(BizBusinessGoods bizBusinessGoods);

    /**
     * 添加商品
     * @param bizBusinessGoods
     * @return
     */
    Integer add(BizBusinessGoods bizBusinessGoods);

    /**
     * 编辑商品
     * @param bizBusinessGoods
     * @return
     */
    Integer edit(BizBusinessGoods bizBusinessGoods);
    /**
     * 删除商品
     * @param bizBusinessGoods
     * @return
     */
    Integer remove(BizBusinessGoods bizBusinessGoods);

    /**
     * 获取商家商品数量
     * @param businessId
     * @return
     */
    Integer getGoodsNum(Integer businessId);

}
